package com.itheima04;

/**
 * @author Xiao
 * @date 2021/7/11
 */
public class BasketballPlayer extends Player {
    @Override
    public void playing() {
        System.out.println(getAge() + "岁的篮球运动员" + getName() + "会打篮球。");
    }

    public BasketballPlayer() {
    }

    public BasketballPlayer(String name, int age) {
        super(name, age);
    }
}
